/*
	Author: Superxpdude

	Description:
	Save score for every player present on the server.
	
	*REQUIRES iniDBi to function!*

	Parameter(s):

		0: Object - Location where scores are stored in the mission

	Returns:
	NOTHING
*/

_object = _this select 0;

{
	_value = _object getVariable [(getPlayerUID _x), 0];
	["awgDB", (getPlayerUID _x), "points", _value] call iniDB_write;
} forEach playableUnits;
